import styled from "styled-components";

export const MommentWrapper = styled.div`
  .content {
    .ant-collapse-header {
      color: #bfbfbf;
      font-size: 13px;
    }
    border-top: 10px solid rgb(243, 244, 245);
    .item {
      display: flex;
      flex-direction: column;
      padding: 30px 0;
      border-bottom: 10px solid rgb(243, 244, 245);
      .top {
        display: flex;
        padding: 0 20px;
        margin-bottom: 20px;
        .avatar {
          margin-right: 20px;
        }
        .username {
          .name {
            font-size: 16.5px;
          }
          .time {
            font-size: 13px;
            color: #8c8c8c;
          }
        }
      }
      .bottom {
        padding: 0 20px;
        .b-content{
          margin-bottom: 20px;
        }
        .imgs-box{
          display: flex;
          flex-wrap: wrap;
          
          .ant-image{
            border: 1px solid white;
          }
        }
        
        .comments {
          display: none;
          .text-area {
            background-color: #f0f0f0;
            margin-top: 30px;
          }
          .submit-box {
            position: relative;
            min-height: 45px;
            margin-top: 20px;
            .submit-btn {
              position: absolute;
              right: 0;
            }
          }
          .comment-num {
            border-top: 1px solid #f0f0f0;
            color: #595959;
            padding: 20px 0;
            font-size: 18px;
          }
          .comment-list {
            min-height: 40px;
            box-sizing: border-box;
            .loadMore {
              display: flex;
              justify-content: center;
            }
          }
        }
        .like {
          margin-top: 20px;
          display: flex;
          color: #8c8c8c;
          border-top: 1px solid #f0f0f0;
          border-bottom: 1px solid #f0f0f0;
          padding: 10px 0;
          i {
            font-size: 18px;
          }
          div {
            &:last-child {
              border-right: none;
            }
            flex: 1;
            border-right: 2px solid #f0f0f0;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            span {
              margin-left: 6px;
            }
          }
        }
      }
    }
  }

  .m-pagination {
    margin: 100px 0;
    .ant-pagination{
      display: flex;
      justify-content: center;
    }
  }
`;
